import request from '@/utils/request'

//  删除流程
export function handleDelete(data) {
  return request({
    url: '/api/flow/instance/delete',
    method: 'post',
    params: data
  })
}

//  撤回流程
export function handleCancel(data) {
  return request({
    url: '/api/flow/instance/cancel',
    method: 'post',
    params: data
  })
}
